<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>首页</title>
    <th:block th:include="~{common/common::commonHead}"/>
    <!--Beyond Scripts-->
    <script src="../lib/jquery-ui/js/beyond.min.js" th:src="@{/lib/jquery-ui/js/skins.min.js}"></script>
    <script src="../lib/jquery-ui/js/beyond.min.js" th:src="@{/lib/jquery-ui/js/beyond.min.js}"></script>
    <!--Skin Script: Place this script in head to load scripts for skins and rtl support-->
    <script src="../lib/jquery-ui/js/skins.min.js" th:src="@{/lib/jquery-ui/js/skins.min.js}"></script>
    <link href="../css/index.css" th:href="@{/css/index.css}" rel="stylesheet"/>
</head>
<body>
<!-- Main Container -->
<div class="page-body">
    <div class="row index-order-row">
        <div class="col-lg-6 col-sm-6 col-xs-12">
            <div class="row widget widget-body waterfall-one">
                <div class="col-md-6">
                    <h2 class="CompanyName">南旭实业</h2>
                    <p class="dim-text">上次登录时间:<span>2017-06-20 12:08:12</span></p>
                    <img class="decorate-img" src="../img/temp1.png">
                </div>
                <ul class="col-md-6 waterfall-one-right">
                    <li class="col-md-6 col-sm-6 col-xs-6">
                        <p class="waterfall-lable">今日销售数量</p>
                        <h3 class="waterfall-data">288</h3>
                    </li>
                    <li class="col-md-6 col-sm-6 col-xs-6">
                        <p class="waterfall-lable">当月销售数量</p>
                        <h3 class="waterfall-data">1314</h3>
                    </li>
                    <li class="col-md-6 col-sm-6 col-xs-6">
                        <p class="waterfall-lable">今日销售金额</p>
                        <h3 class="waterfall-data">￥6001</h3>
                    </li>
                    <li class="col-md-6 col-sm-6 col-xs-6">
                        <p class="waterfall-lable">当月销售金额</p>
                        <h3 class="waterfall-data">￥785,258</h3>
                    </li>
                </ul>
            </div>
        </div>

        <div class="col-lg-6 col-sm-6 col-xs-12">
            <div class="widget">
                <div class="widget-header bordered-bottom bordered-blue">
                    <i class="widget-icon fa fa-tasks themeprimary"></i>
                    <span class="widget-caption themeprimary">待办事项</span>
                </div>
                <div class="widget-body">
                    <div class="row">
                        <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
                            <div class="databox radius-bordered databox-shadowed databox-graded">
                                <div class="databox-left bg-themesecondary">
                                    <div class="databox-piechart">
                                        <span class="glyphicon glyphicon-gift"></span>
                                    </div>
                                </div>
                                <div class="databox-right" onclick="window.location.href='order/deliverList.html'">
                                    <span class="databox-number themesecondary">14</span>
                                    <div class="databox-text darkgray">已发货</div>
                                    <div class="databox-stat themesecondary radius-bordered">
                                        <i class="stat-icon icon-lg fa fa-tasks"></i>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
                            <div class="databox radius-bordered databox-shadowed databox-graded">
                                <div class="databox-left bg-themethirdcolor">
                                    <div class="databox-piechart">
                                        <span class="glyphicon glyphicon-calendar"></span>
                                    </div>
                                </div>
                                <div class="databox-right" onclick="window.location.href='order/deliverList.html'">
                                    <span class="databox-number themethirdcolor">16</span>
                                    <div class="databox-text darkgray">待收货</div>
                                    <div class="databox-stat themethirdcolor radius-bordered">
                                        <i class="stat-icon  icon-lg fa fa-envelope-o"></i>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
                            <div class="databox radius-bordered databox-shadowed databox-graded">
                                <div class="databox-left bg-palegreen">
                                    <div class="databox-piechart">
                                        <span class="glyphicon glyphicon-check"> </span>
                                    </div>
                                </div>
                                <div class="databox-right" onclick="window.location.href='finance/supplierSettlementList.html'">
                                    <span class="databox-number themeprimary">98</span>
                                    <div class="databox-text darkgray">已结算</div>
                                    <div class="databox-state ">
                                        <i class="stat-icon icon-xlg fa fa-phone"></i>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
                            <div class="databox radius-bordered databox-shadowed databox-graded">
                                <div class="databox-left bg-themeprimary">
                                    <div class="databox-piechart">
                                        <span class="glyphicon glyphicon-paste"> </span>
                                    </div>
                                </div>
                                <div class="databox-right" onclick="window.location.href='finance/supplierSettlementList.html'">
                                    <span class="databox-number themeprimary">98</span>
                                    <div class="databox-text darkgray">待结算 </div>
                                    <div class="databox-state bg-themeprimary">
                                        <i class="fa fa-check"></i>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col-lg-4 col-sm-4 col-xs-12">
            <div class="widget">
                <div class="widget-header bordered-bottom bordered-themeprimary">
                    <i class="widget-icon fa fa-tasks themeprimary"></i>
                    <span class="widget-caption themeprimary">订单记录</span>
                </div>
                <div class="widget-body">
                    <div class="form-group-custom">
                            <span class="input-icon">
                                <input type="text" class="form-control input-sm" placeholder="输入要查询订单号">
                                <i class="glyphicon glyphicon-search blue"></i>
                            </span>
                        <!--<a href=" " class="btn btn-info"><font><font>导入订单</font></font></a>-->
                    </div>
                    <ul class="order_history">
                        <li>
                            <h4 class="order-number">订单编号:SP4827858329 <span class="dim-text fl-right">刚刚</span></h4>
                            <p class="subtopic-text">供应商名称:瓯海看守所</p>
                            <p class="subtopic-text">货品数量:480</p>
                            <p class="subtopic-text">订单总额: 8569.00 元</p>
                        </li>
                        <li>
                            <h4 class="order-number">订单编号:SP4827858329 <span class="dim-text fl-right">2分钟</span></h4>
                            <p class="subtopic-text">供应商名称:瓯海看守所</p>
                            <p class="subtopic-text">货品数量:480</p>
                            <p class="subtopic-text">订单总额: 8569.00 元</p>
                        </li>
                        <li>
                            <h4 class="order-number">订单编号:SP4827858329 <span class="dim-text fl-right">2017-06-20 12:08</span></h4>
                            <p class="subtopic-text">供应商名称:瓯海看守所</p>
                            <p class="subtopic-text">货品数量:480</p>
                            <p class="subtopic-text">订单总额: 8569.00 元</p>
                        </li>

                    </ul>

                </div>
            </div>
        </div>
        <div class="col-lg-8 col-sm-8 col-xs-12">
            <div class="widget">
                <div class="widget-header bordered-bottom bordered-lightred">
                    <i class="widget-icon fa fa-tasks themeprimary"></i>
                    <span class="widget-caption themeprimary">统计报表</span>
                </div>

                <div class="widget-body">
                    <div id="bar-chart" class="chart chart-lg"></div>
                </div>
            </div>
        </div>

    </div>
</div>
<!-- Main Container -->
<!-- charts -->
<script src="../lib/jquery-ui/js/charts/flot/jquery.flot.js" th:src="@{/lib/jquery-ui/js/charts/flot/jquery.flot.js}"></script>
<script src="../lib/jquery-ui/js/charts/flot/flot-init.js" th:src="@{/lib/jquery-ui/js/charts/flot/flot-init.js}"></script>
<script type="text/javascript">
    $(window).bind("load", function () {
        InitiateFlotBarChart.init();
    });
</script>

</body>
</html>